/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.forward.mobile.optitrans.domain;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 *
 * @author jbromo
 */
public class Vehicule {

    private int id;
    private String matricule;

    public Vehicule() {
    }

    public Vehicule(ResultSet resultSet) throws SQLException {
        this.id = resultSet.getInt("id");
        this.matricule = resultSet.getString("matricule");

    }

    public int getId() {
        return id;
    }

    public String getMatricule() {
        return matricule;
    }
}
